package com.bm.api.service;

import com.bm.common.vo.R;
import feign.Param;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Hey man，take your time！
 *
 * @Author: 李松洋
 * @Description:代码永不报错，工资永在上涨！！！
 * @Date: Create in 10:45 2022/7/23
 */
@FeignClient(value = "bm-Server")
public interface JoinAllyService {
    @PostMapping("/server/joinAlly/join.do")
    R join(@RequestParam int allyid,@RequestParam Long uid );
    @GetMapping("/server/joinAlly/num.do")
      R num(@RequestParam int allyid);
    
}
